//数据
const medStore = {
    state: {
        detail: {},
    },
    actions: {
        medDetailAction(currentState, action) {
            currentState.detail = action.payload;
        },
    },
    asyncActions: {
    },
    actionNames: {}
}

let totalActionNames = {};
for(let key in medStore.actions) {
    totalActionNames[key] = key;
}
medStore.actionNames = totalActionNames;

export default medStore;